package com.wanmait.wisdom.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.experimental.Accessors;

/**
* Created by Mybatis Generator 2024/04/27
*/
@Data
@Accessors(chain = true)
public class House implements Serializable {

    private Integer id;

    /**
	* 房屋面积
	*/
    private Double houseArea;

    /**
	* 所属单元
	*/
    private Integer unitId;

    /**
     * 单元对象
     */
    @TableField(exist = false)
    private Unit unit;
    /**
	* 门牌号
	*/
    private Integer houseNumber;

    /**
	* 楼层数
	*/
    private Integer floor;


    /** 楼栋id**/
    @TableField(value = "building_id")
    private Integer buildingId;

    @TableField(exist = false)
    private Building building;

    /**
	* 状态
	*/
    private Integer houseStateId;

    @TableField(exist = false)
    private HouseState houseState;
    /**
	* 物业费收取标准0.5/m2/月
	*/
    private Integer propertyFeesId;

    @TableField(exist = false)
    private PropertyFees propertyFees;
    /**
	* 业主id
	*/
    private Integer ownerId;

    @TableField(exist = false)
    private Owner owner;
    //居住人数
    private Integer personSize;
    private static final long serialVersionUID = 1L;
}